# -*- coding: utf-8 -*-
"""
-------------------------------------------------
   File Name：     InCase.py
   Description :
   Author :        ZhangYiLin
   date：          2020/12/09 13:47
-------------------------------------------------
   Change Activity:
                   2020/12/09 13:47
-------------------------------------------------
"""
from config import ConfigRelevance


def ini_relevance(_path):
    """
    读取初始化关联文件
    :param _path:  case路径
    :return:
    """
    rel = ConfigRelevance.ConfRelevance(_path + "/relevance.ini")
    relevance = rel.get_relevance_conf()
    return relevance


if __name__ == "__main__":
    print(ini_relevance("D:\\workFiles\\UI\\TestCase\\TestLogin"))
